package com.czr.demo;

import lombok.Data;

import java.math.BigDecimal;

/**
 * Description:
 * Author: czr czr
 * Version: 1.0
 * Create Date Time: 2021/11/27 15:57.
 * Update Date Time:
 *
 * @see
 */
@Data
public class Product {

    private Long id;
    private Integer num;
    private BigDecimal price;
    private String name;
    private String category;

    public Product(Long id, Integer num, BigDecimal price, String name, String category) {
        this.id = id;
        this.num = num;
        this.price = price;
        this.name = name;
        this.category = category;
    }

}
